
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>接口说明  Sign 签名  · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="shua-qia-zhi-4ed828-shou-quan-er-wei-780129.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    小蜜蜂支付接口文档
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2" data-path="jie-kou-shuo-ming-1-2-1-sign-qian-ming.html">
            
                <a href="jie-kou-shuo-ming-1-2-1-sign-qian-ming.html">
            
                    
                    接口说明  Sign 签名 
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="shua-qia-zhi-4ed828-shou-quan-er-wei-780129.html">
            
                <a href="shua-qia-zhi-4ed828-shou-quan-er-wei-780129.html">
            
                    
                    刷卡支付(授权二维码) 
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="dong-tai-ding-dan-sao-ma-zhi-fu-jie-kou.html">
            
                <a href="dong-tai-ding-dan-sao-ma-zhi-fu-jie-kou.html">
            
                    
                    动态订单扫码支付接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="ding-dan-cha-xun-jie-kou.html">
            
                <a href="ding-dan-cha-xun-jie-kou.html">
            
                    
                    H5支付/小程序支付接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="zhi-fu-jie-guo-yi-bu-tong-zhi.html">
            
                <a href="zhi-fu-jie-guo-yi-bu-tong-zhi.html">
            
                    
                    支付结果异步通知
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="cha-xun-jie-kou.html">
            
                <a href="cha-xun-jie-kou.html">
            
                    
                    订单查询接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="ding-dan-che-xiao-jie-kou-paycancel.html">
            
                <a href="ding-dan-che-xiao-jie-kou-paycancel.html">
            
                    
                    订单撤销接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="ding-dan-guan-bi-jie-kou.html">
            
                <a href="ding-dan-guan-bi-jie-kou.html">
            
                    
                    订单关闭接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="tui-kuan-jie-kou.html">
            
                <a href="tui-kuan-jie-kou.html">
            
                    
                    退款接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="tui-kuan-cha-xun-jie-kou.html">
            
                <a href="tui-kuan-cha-xun-jie-kou.html">
            
                    
                    退款查询接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="wei-xin-zi-shang-hu-zhi-fu-pei-zhi-jie-kou.html">
            
                <a href="wei-xin-zi-shang-hu-zhi-fu-pei-zhi-jie-kou.html">
            
                    
                    微信子商户支付配置接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="wei-xin-zi-shang-hu-zhi-fu-mu-lu-pei-zhi-jie-kou.html">
            
                <a href="wei-xin-zi-shang-hu-zhi-fu-mu-lu-pei-zhi-jie-kou.html">
            
                    
                    微信子商户支付目录配置接口
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >接口说明  Sign 签名 </a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x63A5;&#x53E3;&#x8BF4;&#x660E;-sign&#x7B7E;&#x540D;">&#x63A5;&#x53E3;&#x8BF4;&#x660E; Sign&#x7B7E;&#x540D;</h1>
<p>&#x63A5;&#x53E3;&#x62A5;&#x6587;&#x91C7;&#x7528; json &#x683C;&#x5F0F; post &#x63D0;&#x4EA4;&#x65B9;&#x5F0F;&#xFF0C;&#x65E0;&#x8BBA;&#x662F;&#x8BF7;&#x6C42;&#x8FD8;&#x662F;&#x5E94;&#x7B54;&#xFF0C;&#x7B7E;&#x540D;&#x539F;&#x59CB;&#x4E32;&#x6309;&#x4EE5;&#x4E0B;&#x65B9; &#x5F0F;&#x7EC4;&#x88C5;&#x6210;&#x5B57;&#x7B26;&#x4E32;:</p>
<p>1&#x3001;&#x9664; sign &#x5B57;&#x6BB5;&#x5916;&#xFF0C;&#x6240;&#x6709;&#x53C2;&#x6570;&#x6309;&#x7167;&#x5B57;&#x6BB5;&#x540D;&#x7684; ascii &#x7801;&#x4ECE;&#x5C0F;&#x5230;&#x5927;&#x6392;&#x5E8F;&#x540E;&#x4F7F;&#x7528; QueryString &#x7684;&#x683C;&#x5F0F; (&#x5373;&#x53C2;&#x6570;1=value1&amp;&#x53C2;&#x6570;2=value2........&amp;secret=&#x52A0;&#x5BC6;key) &#x62FC;&#x63A5;&#x800C;&#x6210;&#xFF0C;&#x7A7A;&#x503C;&#x53C2;&#x4E0E;&#x7B7E;&#x540D;&#x7EC4;&#x4E32;&#x3002;</p>
<p>2&#x3001;&#x5C06;&#x7B7E;&#x540D;&#x5B57;&#x7B26;&#x4E32;&#x8FDB;&#x884C;md5&#x7B7E;&#x540D;</p>
<p>3&#x3001;&#x5E73;&#x53F0;&#x8FD4;&#x56DE;&#x7684;&#x5E94;&#x7B54;&#x6216;&#x901A;&#x77E5;&#x6D88;&#x606F;&#x53EF;&#x80FD;&#x4F1A;&#x7531;&#x4E8E;&#x5347;&#x7EA7;&#x589E;&#x52A0;&#x53C2;&#x6570;,&#x8BF7;&#x9A8C;&#x8BC1;&#x5E94;&#x7B54;&#x7B7E;&#x540D;&#x65F6;&#x6CE8;&#x610F;&#x5141;&#x8BB8;&#x8FD9;&#x79CD;&#x60C5;&#x51B5;&#x3002;</p>
<p>&#x7B7E;&#x540D;&#x793A;&#x4F8B;</p>
<p>&#x8BF7;&#x6C42;&#x660E;&#x6587;:</p>
<p>{</p>
<p>  &quot;Method&quot;:&quot;PrePay&quot;,</p>
<p>  &quot;ShopNo&quot;: &quot;20191024308978649d&quot;,</p>
<p>  &quot;NonceStr&quot;: &quot;20191024308978649340&quot;,</p>
<p>  &quot;OutTradeNo&quot;: &quot;20191024308978649d1558770663000&quot;,</p>
<p>  &quot;TotalAmount&quot;: 10,</p>
<p>  &quot;ChannelType&quot;:&quot;WX&quot;,</p>
<p>  &quot;OpenId&quot;:&quot;oUs0Z4-MT3OcXgwUhujWJXiAxBng&quot;,</p>
<p>  &quot;SubAppId&quot;:&quot;wx32b13e23391940f1&quot;,</p>
<p>  &quot;Sign&quot;:&quot;fd8f28ea8369b61ac9ba6ea871addfc4&quot;</p>
<p>}</p>
<p>&#x6570;&#x636E;&#x62FC;&#x63A5;</p>
<p>ChannelType=WX&amp;Method=DynamicOrder&amp;NonceStr=20191024308978649340&amp;OpenId=&amp;OutTradeNo=20191024308978649d1558770663000&amp;ShopNo=20191024308978649d&amp;SubAppId=wx32b13e23391940f1&amp;TotalAmount=10&amp;secret=ab3400518df07a7751e8aed08845d277</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: 小蜜蜂支付接口文档">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="shua-qia-zhi-4ed828-shou-quan-er-wei-780129.html" class="navigation navigation-next " aria-label="Next page: 刷卡支付(授权二维码) ">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"接口说明  Sign 签名 ","level":"1.2","depth":1,"next":{"title":"刷卡支付(授权二维码) ","level":"1.3","depth":1,"path":"shua-qia-zhi-4ed828-shou-quan-er-wei-780129.md","ref":"shua-qia-zhi-4ed828-shou-quan-er-wei-780129.md","articles":[]},"previous":{"title":"小蜜蜂支付接口文档","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"jie-kou-shuo-ming-1-2-1-sign-qian-ming.md","mtime":"2019-05-28T02:45:18.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-05-31T01:17:36.974Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

